package spring.springConstructorDemo;

public class People {
    private String name;
    private Car car;

    public People(String name, Car car) {
        this.name = name;
        this.car = car;
    }

    public void run() {
        System.out.println(name + "骄傲地开着它价值" + car);
    }
}
